PREVIEW: Let's imagine that you're almost done with the school year and you want to know your grade average!

We'll be using the console, a programming environment that takes in text as input and only outputs text. The console is particularly useful because it will let us easily display text information.

  • Click Run to see an example of the project. Scroll up in the console to see the beginning of the output.
  • Notice how the grades and the average change! When you're done, click Submit and Next to move on.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)